home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
varia
/
egebook.lha
/
ege.book
/
5
/
Teacher.h
< prev
next >
Wrap
C/C++ Source or Header
|
1992-06-07
|
567b
|
34 lines
#ifndef Teacher_h
#define Teacher_h
#include <iostream.h>
#include <bool.h>
#include <String.h>
#include "Collection.h"
#include "Employee.h"
#include "Course.h"
class Course;
class Teacher: public virtual Employee {
friend void initialize();
Collection *teaching;
Collection *preferences;
static int MaxCourses; // course maximum
public:
Teacher() {
teaching = new Collection;
preferences = new Collection;
};
void maintain();
void print(){
cout << "Teacher: ";
Employee::print();
};
bool add(Example *);
};
#endif